<?php
	$xhtml = $this->render('includes/login/header.php')
			 . $this->render('includes/login/body.php')
			 . $this->render('includes/login/footer.php');
			 
	if(count($this->arrDir)>0){
		foreach ($this->arrDir as $key => $val){
			if($key == 'css'){
				$xhtml = str_replace('href="css','href="' . $val , $xhtml);
			}else{
				$xhtml = str_replace('src="' . $key,'src="' . $val , $xhtml);
			}
		}
	}

	echo $xhtml;		 			 